import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/pages/home/Home'
const Strategy = () => import('@/pages/strategy/Strategy')
const Resource = () => import('@/pages/resource/Resource')
const Case = () => import('@/pages/case/Case')
const Product = () => import('@/pages/product/Product')
const AboutUs = () => import('@/pages/aboutus/AboutUs')
Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      component: Home
    },
    {
      name: 'Home',
      path: '/Home',
      component: Home
    },
    {
      name: 'Strategy',
      path: '/Strategy',
      component: Strategy
    },
    {
      name: 'Resource',
      path: '/Resource',
      component: Resource
    },
    {
      name: 'Case',
      path: '/Case',
      component: Case
    },
    {
      name: 'Product',
      path: '/Product',
      component: Product
    },
    {
      name: 'AboutUs',
      path: '/AboutUs',
      component: AboutUs
    }
  ]
})
